@@ -21,7 +21,7 @@ module Agents |
||
21 | 21 |
|
22 | 22 |
def validate_options |
23 | 23 |
unless options['message'].present? |
24 |
- errors.add(:base, "window_duration_in_days and message are required") |
|
24 |
+ errors.add(:base, "message is required") |
|
25 | 25 |
end |
26 | 26 |
|
27 | 27 |
unless options['window_duration_in_days'].present? && options['window_duration_in_days'].to_f > 0 |